package com.czz.portal.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @ClassName: CourseConsult
 * @Author Czz
 * @Date 2020/2/11
 * @Time 20:04
 **/
@Data
@TableName(value = "edu_course_consult")
@Accessors(chain = true)
public class CourseConsult {

    @TableId(value = "consult_id", type = IdType.ID_WORKER_STR)
    private String consultId;

    @TableField(value = "user_id")
    private String userId;

    @TableField(value = "course_id")
    private String courseId;

    @TableField(value = "consult_content")
    private String consult;

    @TableField(value = "reply_content")
    private String reply;

    @TableField(value = "consult_like_count")
    private Integer like;

    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;
}
